package com.conan.array.exer1;/** * @version 加油！！！ * @Description     数组反转： {34,54,3,2,65,7,34,5,76,34,67} * @Author 谷藤新一GYC * @Date 2023/7/30-9:46 */public class ArrayTest8 {    public static void main(String[] args) {        int [] arr = new int[]{34,54,3,2,65,7,34,5,76,34,67,1};        int num;        for(int i = 0,j = arr.length-1; i < j;i++,j--){                num = arr[i];                arr[i] = arr[j];                arr[j] = num;        }        for (int i = 0; i < arr.length; i++) {            System.out.print(arr[i]+"\t");        }    }}   